package com.suse.warmstill.mapper;

import com.suse.warmstill.entity.Comment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * @author ADMIN
 * @description 针对表【comment】的数据库操作Mapper
 * @createDate 2023-02-04 15:41:12
 * @Entity com.suse.warmstill.entity.Comment
 */
public interface CommentMapper extends BaseMapper<Comment> {

    int selectCountByParentId(String parent);

    List<Comment> selectAllByRoot(String rootId);
}




